package tech.yunland.shop.domain.until;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 李珂<likenamehaojie@hotmail.com>
 */
public class ChangeSerizliableResult {
    public static List<HashMap<String,Object>> changeToSerizliable(List<Map<String,Object>> preMap){
        List<HashMap<String,Object>> afterListMap = new ArrayList<>();
        for(int i = 0;i<preMap.size();i++){
            Map<String,Object> _pMap = preMap.get(i);
            HashMap<String,Object> _aMap = new HashMap<>();
            _aMap.putAll(_pMap);
            afterListMap.add(_aMap);
        }
        return afterListMap;
    }

}
